import Taro, { Component, request,redirectTo,navigateBack } from '@tarojs/taro'
import { View, Button, Text, Image,Input } from '@tarojs/components'
import { imgUrl } from '../../config'
import './chooseQz.scss'


class ChooseQz extends Component {

//   config = {
//     navigationBarTitleText: '选择位置'
//   }
  constructor (props) {
    super(props)
    this.state = { 
        value:"<"
     }
  }
  back(){
    redirectTo({
        url: '/pages/cyht/cyht'
    })
  }
 
  render () {
    return (
      <View className='index'>
      <View className='head'>
         <Text className='close' onClick={this.back}>{this.state.value}</Text>
         <Text className='name'>选择圈子</Text>
      </View>
        <View className='search'>
            <Input type='text' className='input' placeholder='请输入圈子名称' placeholderClass='qzName' />
            <Text className='sou'>搜索</Text>
        </View>
        <View className='list'>
            <Image src={`${imgUrl}/qzTou.png`} className='tou' />   
            <View className='name'>
                <View className='qzName'>熊猫吃锤子</View>
                <View className='how'>
                    <Text className='howC'>100 成员</Text>
                    <Text className='howT'>8928 帖子</Text>
                </View>
                <View className='js'>欢迎加入我们这个大家庭，随时随地聊</View>
            </View>
        </View>
        <View className='list'>
            <Image src={`${imgUrl}/qzTou.png`} className='tou' />   
            <View className='name'>
                <View className='qzName'>熊猫吃锤子</View>
                <View className='how'>
                    <Text className='howC'>100 成员</Text>
                    <Text className='howT'>8928 帖子</Text>
                </View>
                <View className='js'>欢迎加入我们这个大家庭，随时随地聊</View>
            </View>
        </View>
      </View>
    )
  }
}

